package com.summer.First.day03;

public class Solution5 {
    public static  String reverseLeftWords(String s, int n) {
        String newS=new String();
        int size=s.length();
        newS=s.substring(n,size)+s.substring(0,n);
        return  newS;
    }
    public static void main(String[] args) {
        String a=reverseLeftWords("summer",2);
        System.out.println(a);
    }

}
